﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Process
{
    /// <summary>
    /// 工序信息录入命令类
    /// </summary>
    public class CreateProcessCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 工序编码
        /// </summary>
        public string Processcode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 工序描述
        /// </summary>
        public string Processdesc { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string ProcessType { get; set; }

        /// <summary>
        /// 报工模式
        /// </summary>
        public string Reporting { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
